package com.hzy.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 时间和数量视图对象 (View Object)
 * 用于返回每个时间段的剩余预约次数
 *
 * @author HZY
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "时间段剩余次数返回实体")
public class TimeCountVo {

    @ApiModelProperty(value = "具体时间点，格式: yyyy-MM-dd HH:mm:ss")
    private String time;

    @ApiModelProperty(value = "该时间点剩余的可预约数量")
    private int count;
    
}